﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/ExtraOpdrachten.Master" CodeBehind="Opdracht5.aspx.cs" Inherits="ExtraOpdrachten.Opdracht5" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Opdracht 5 - Koersconversie V2</h1>
    <div style="border: solid 5px red; border-radius: 25px; width: 30%; padding: 25px;">
        <asp:Label ID="LabelMoney" runat="server" Text="Om te rekenen bedrag" Font-Size="24pt"></asp:Label>
        <asp:TextBox ID="TextBoxMoney" runat="server" Font-Size="24pt" AutoPostBack="True" OnTextChanged="RadioButtonListValuta_SelectedIndexChanged">0</asp:TextBox>
        <br />
        <br />
        <asp:RadioButtonList ID="RadioButtonListCurrency" runat="server" Font-Size="24pt" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonListValuta_SelectedIndexChanged">
            <asp:ListItem Selected="True" Value="dollar">Amerikaanse dollar</asp:ListItem>
            <asp:ListItem Value="gulden">Antilliaanse gulden</asp:ListItem>
            <asp:ListItem Value="yuan">Chinese yuan</asp:ListItem>
            <asp:ListItem Value="yen">Japanse yen</asp:ListItem>
            <asp:ListItem Value="roebel">Russische roebel</asp:ListItem>

        </asp:RadioButtonList>
        <br />
        <asp:CheckBox ID="CheckBoxReverse" runat="server" Font-Size="24pt" Text="Omgekeerd" AutoPostBack="True" OnCheckedChanged="RadioButtonListValuta_SelectedIndexChanged" />
        <br />
        <br />
        <asp:Label ID="LabelResult" runat="server" Font-Size="24pt">0 euro is gelijk aan 0 Amerikaanse dollar</asp:Label>
        <br />
        <asp:Button ID="Button1" runat="server" Text="Button" Visible="False" />
        <br />
    </div>
</asp:Content>

